function display(lst)
%DISPLAY Displays the list object
%
% [ Syntax ]
%   - display(lst)
%
% [ History ]
%   - Created by Dahua Lin, on Jan 5, 2008
%


if isequal(get(0,'FormatSpacing'),'compact')
   disp([inputname(1) ' =']);
   disp(lst)
else
   disp(' ')
   disp([inputname(1) ' =']);
   disp(' ');
   disp(lst)
end